package cn.com.pureAppApi.exception;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import lombok.Data;

/**
 * QQ讨论群:76989293
 * @email 2696701142@qq.com
 * @date 2018-06-12 16:51:48
 *
 */
@Data
public class ReturnExceptionBody implements Serializable{
	
/**
 * 返回码
 */
@ApiModelProperty("返回码")
private int code;
	
/**
 * 返回信息
 */
@ApiModelProperty("返回信息")
private String message;

/**
 * 返回true |flase
 */
@ApiModelProperty("返回状态 true |flase")
private boolean boolFlag;

public ReturnExceptionBody()
{
	super();
}
ReturnExceptionBody(int code, String message) {
		super();
		this.code = code;
		this.message = message;
	}
}
